package server;


public class Giocatore {

	/**
	 * @uml.property  name="username"
	 */
	private String username;

	/**
	 * Getter of the property <tt>username</tt>
	 * @return  Returns the username.
	 * @uml.property  name="username"
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * Setter of the property <tt>username</tt>
	 * @param username  The username to set.
	 * @uml.property  name="username"
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @uml.property  name="psw"
	 */
	private String psw;

	/**
	 * Getter of the property <tt>psw</tt>
	 * @return  Returns the psw.
	 * @uml.property  name="psw"
	 */
	public String getPsw() {
		return psw;
	}

	/**
	 * Setter of the property <tt>psw</tt>
	 * @param psw  The psw to set.
	 * @uml.property  name="psw"
	 */
	public void setPsw(String psw) {
		this.psw = psw;
	}

		
		/**
		 */
		public void creaSpecie(){
		}

		/**
		 * @uml.property  name="specie"
		 * @uml.associationEnd  multiplicity="(1 1)" aggregation="composite" inverse="giocatore:server.Specie"
		 * @uml.association  name="possiede"
		 */
		private Specie specie = new server.Specie();

		/**
		 * Getter of the property <tt>specie</tt>
		 * @return  Returns the specie.
		 * @uml.property  name="specie"
		 */
		public Specie getSpecie() {
			return specie;
		}

		/**
		 * Setter of the property <tt>specie</tt>
		 * @param specie  The specie to set.
		 * @uml.property  name="specie"
		 */
		public void setSpecie(Specie specie) {
			this.specie = specie;
		}

		/** 
		 * @uml.property name="partita"
		 * @uml.associationEnd multiplicity="(1 1)" inverse="giocatore1:server.Partita"
		 * @uml.association name="contiene"
		 */
		private Partita partita = new server.Partita();

		/** 
		 * Getter of the property <tt>partita</tt>
		 * @return  Returns the partita.
		 * @uml.property  name="partita"
		 */
		public Partita getPartita() {
			return partita;
		}

		/** 
		 * Setter of the property <tt>partita</tt>
		 * @param partita  The partita to set.
		 * @uml.property  name="partita"
		 */
		public void setPartita(Partita partita) {
			this.partita = partita;
		}

}
